package com.tjdx.projectsubmission.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjdx.projectsubmission.dto.FillReportListDto;
import com.tjdx.projectsubmission.dto.FillReportQueryDto;
import com.tjdx.projectsubmission.dto.FillReportSaveDto;
import com.tjdx.projectsubmission.db.entity.FillReport;
import com.tjdx.projectsubmission.vo.fill.FileReportListVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FillReportMapper extends BaseMapper<FillReport> {

    int insert(FillReportSaveDto fillReportSaveDto);

    FillReport selectByPrimaryKey(Long id);

    FileReportListVo getOneReport(FillReportQueryDto fillReportQueryDto);

    IPage<FileReportListVo> getAllReport(Page page,@Param("param") FillReportListDto fillReportListDto);







}
